AweBooking\Model\Service S

Total Complexity 22
Dependencies 0
Dependents 8
Total lines 186
Lines of code 98
Logical lines of code 27
Comment lines 66
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
perform_insert()
S
59 4 13
is_purchasable()
S
69 3 6
setup_attributes()
S
57 1 17
has_enough_stock()
S
78 2 3
perform_update()
S
64 2 10
sanitize_attribute()
S
67 2 8
map_attributes()
S
61 1 12
get_stock_statuses()
S
70 1 6
get_amount()
S
80 1 3
get_operation()
S
80 1 3
is_quantity_selectable()
S
79 1 3
is_in_stock()
S
77 1 3
managing_stock()
S
80 1 3
setup()
S
66 1 8